src_s := doNothingProg2.s

c_name = test
src_c = $(c_name).c


all: run gen clean

run:
	as -gstabs -o tmp.o $(src_s) 
	gcc tmp.o


gen:
	gcc -S -O0 -fno-asynchronous-unwind-tables $(src_c)

clean:
	@rm -f $(c_name).s *.o a.out

